package com.unipay.task;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author Chenmy
 * @Date 2023/7/23 17:53
 * @Desc TODO
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)     // TODO 取消数据源自动配置
@EnableDiscoveryClient  // 服务发现
@ComponentScan(basePackages = {"com.unipay"})
public class ServiceTaskApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceTaskApplication.class, args);
    }
}
